package com.chwn.curiousdiary.gloable;

/**
 * Created by Myshikin on 2017/3/22.
 */

public interface Constant {
    int EXTERNAL_STORAGE = 14;
    String PACKAGE_NAME = "com.chwn.curiousdiary";

    int BANNER_DELAY_TIME = 3000;
    int ROW_NUM           = 5;

    /**
     * Android 标识
     */
    int OSTYPE = 1;

    /**
     * 返回数据成功失败空标识
     */
    int RESULT_EMPTY = 2;
    int RESULT_OK    = 1;
    int RESULT_ERROR = 0;

    /**
     * 消息已读未读
     */
    int MESSAGE_UNREAD = 0;
    int MESSAGE_READ   = 1;

    /**
     * 故事分类TAG --- 根据此TAG加载不同分类的数据
     */
    int ADVENTURE_TAG = 0;
    int BUILD_TAG     = 1;
    int FANCY_TAG     = 2;
    int LIFE_TAG      = 3;
    int CHINABOOK_TAG = 4;
    int ANIMAL_TAG    = 5;
    int NEW_TAG       = 6;
    int COMMEND_TAG   = 7;


    /**
     * 消息列表布局类型
     */
    int MESSAGE_TYPE = 10;
    int DATA_TYPE    = 11;

    /**
     * 音频播放
     */
    String PLAY_STROY_LIST = "storyList";

    /**
     *
     */
    String STORY_SERVICE_TYPE = "type";

    /**
     * 播单ID
     */
    String PACKAGE_ID = "package_id";

    /**
     * 闪屏页显示时间
     */
    long SPLASH_TIME = 2000;
    /**
     * 密码最小&最大个数
     */
    int  MIN_NUM_PWD = 6;
    int  MAX_NUM_PWD = 18;

    /**
     * 注册，忘记密码，绑定手机页面标识
     */
    String JUMP_TYPE  = "jump_type";
    int    FGT_PWD    = 3;
    int    REGISTER   = 1;
    int    BIND_PHONE = 2;

    /**
     *
     */
    String STORY_TYPE = "story_type";
    String STORY_LIST = "story_list";
    /**
     * 默认每页数据个数
     */
    int    PAGE_COUNT = 10;

    /**
     * SP の key
     */
    String BABYINFO = "babyinfo";
    String PHONE    = "phone";

    String MESSAGE_URL = "message_url";
    String MESSAGE_ID  = "message_id";

    String OPEN_ID = "open_id";

    /**
     * 下载
     */
    String DOWN_STORY      = "down_story";
    String DOWN_STORY_LIST = "down_story_list";

    String IS_LOGIN           = "is_login";
    int    REQUEST_LOGIN_CODE = 13;
    String UNION_ID           = "union_id";
    String IS_REGISTER        = "is_register";
    String VERIFY_CODE        = "verify_code";
    String USER               = "user";
    int    list_zero          = 0;
    int    list_two           = 3;
    int    list_three         = 2;
    int    list_four          = 4;
    int    list_one           = 1;
    int    list_one_end       = 5;
    int    list_two_end       = 7;
    int    list_three_end     = 6;
    int    list_four_end      = 8;
    int    list_empty         = 10;
    int    list_second        = 9;

    String STORY_COUNT      = "story_count";
    String IS_HISTORY_PAGE  = "is_history_page";
    String TIMMING_POSITION = "timming_position";
}
